/**
 * 
 */
package com.socialnetwork.controller;

/**
 * @author asoundar
 *
 */
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class LinkNavigation {

    @RequestMapping(value = "/", method = RequestMethod.GET)
	public ModelAndView homePage() {
		return new ModelAndView("home-tiles");
	}

	@RequestMapping(value = "/index", method = RequestMethod.GET)
	public ModelAndView indexPage() {
		return new ModelAndView("home-tiles");
	}
	
	@RequestMapping(value = "/about", method = RequestMethod.GET)
	public ModelAndView aboutPage() {
		return new ModelAndView("about-tiles");
	}
	
	@RequestMapping(value = "/projects", method = RequestMethod.GET)
	public ModelAndView projectsPage() {
		return new ModelAndView("projects-tiles");
	}
	
	@RequestMapping(value = "/contacts", method = RequestMethod.GET)
	public ModelAndView contactsPage() {
		return new ModelAndView("contacts-tiles");
	}
	
	@RequestMapping(value = "/sitemap", method = RequestMethod.GET)
	public ModelAndView sitemapPage() {
		return new ModelAndView("sitemap-tiles");
	}
	
	//
	
	@RequestMapping(value = "/sec/moderation", method = RequestMethod.GET)
	public ModelAndView moderatorPage() {
		return new ModelAndView("moderation");
	}

	@RequestMapping(value = "/admin/first", method = RequestMethod.GET)
	public ModelAndView firstAdminPage() {
		return new ModelAndView("admin-first");
	}

	@RequestMapping(value = "/admin/second", method = RequestMethod.GET)
	public ModelAndView secondAdminPage() {
		return new ModelAndView("admin-second");
	}

}
